package com.dw.etl.core.api;

import  com.dw.etl.common.vo.PaginationVO;
import java.util.List;
import com.dw.etl.core.bean.model.BaseDimtb;

/**
 * baseDimtb服务类
 * Created by hozeData on 2021/06/16.
 */
public interface BaseDimtbService {

    List<BaseDimtb> findByModel(BaseDimtb baseDimtb);

    PaginationVO<BaseDimtb> findPageByModel(BaseDimtb baseDimtb, Integer pageNum, Integer pageSize);

    BaseDimtb getById(String pk);

    int insert(BaseDimtb baseDimtb);

    int insertSelective(BaseDimtb baseDimtb);

    int updateByIdSelective(BaseDimtb baseDimtb);

    int updateById(BaseDimtb baseDimtb);

    int deleteById(String pk);

    BaseDimtb getByIdFromCache(String pk);

}
